package com.zzqstart.cateorder.remote;

import com.zzqstart.commonutils.R;
import com.zzqstart.commonutils.entity.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

/**
 * ClassName: UserCentRemote
 * Package: com.zzqstart.cateorder.remoteinterface
 * Description:
 *
 * @Author zzqstart
 * @Create 2023-03-03 1:40
 * @Version 1.0
 */
@Component
@FeignClient("service-ucenter")
public interface UserCentRemote {
    @GetMapping("/userservice/member/remote/getMemberInfoByMemberId/{memberId}")
    public UcenterMember getMemberInfoByMemberId(@PathVariable("memberId") String memberId);
}
